.class Lcom/estrongs/android/view/FileGridViewWrapper$u;
.super Ljava/lang/Object;
.source "FileGridViewWrapper.java"

# interfaces
.implements Les/z80;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/FileGridViewWrapper;->U()Lcom/estrongs/android/view/FileGridViewWrapper$v;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

.field final synthetic b:Lcom/estrongs/android/view/FileGridViewWrapper;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/FileGridViewWrapper;Lcom/estrongs/android/view/FileGridViewWrapper$v;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    iput-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/s80;II)V
    .locals 4

    .line 1
    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object v1

    const/4 v2, 0x1

    const/4 v3, 0x0

    if-ne v0, v1, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    .line 2
    :goto_0
    check-cast p1, Les/f70;

    if-ne p2, v2, :cond_2

    const/4 p2, 0x2

    if-ne p3, p2, :cond_2

    if-eqz v0, :cond_1

    .line 3
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->h(Lcom/estrongs/android/view/FileGridViewWrapper;)V

    goto :goto_2

    .line 4
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    new-instance p2, Lcom/estrongs/android/view/FileGridViewWrapper$u$a;

    invoke-direct {p2, p0}, Lcom/estrongs/android/view/FileGridViewWrapper$u$a;-><init>(Lcom/estrongs/android/view/FileGridViewWrapper$u;)V

    iput-object p2, p1, Lcom/estrongs/android/view/FileGridViewWrapper$v;->c:Ljava/lang/Runnable;

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    iget-object p2, p2, Lcom/estrongs/android/view/FileGridViewWrapper$v;->c:Ljava/lang/Runnable;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_2

    :cond_2
    const/4 p2, 0x5

    if-eq p3, p2, :cond_3

    const/4 p2, 0x4

    if-ne p3, p2, :cond_6

    .line 6
    :cond_3
    :try_start_0
    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p2, v3}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Lcom/estrongs/android/view/FileGridViewWrapper;Z)Z

    .line 7
    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->y:Ljava/lang/String;

    .line 8
    iget-object v1, p1, Les/f70;->E:Lcom/estrongs/fs/g;

    invoke-interface {v1}, Lcom/estrongs/fs/g;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_4

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    const/4 p2, 0x0

    invoke-static {p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper$v;->b:Landroid/os/ConditionVariable;

    invoke-virtual {p1}, Landroid/os/ConditionVariable;->open()V

    return-void

    :cond_4
    if-eqz v0, :cond_5

    .line 11
    :try_start_1
    iget-object v0, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {v0, p1, p3, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Les/f70;ILjava/lang/String;)V

    goto :goto_1

    .line 12
    :cond_5
    iget-object v0, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    new-instance v1, Lcom/estrongs/android/view/FileGridViewWrapper$u$b;

    invoke-direct {v1, p0, p1, p3, p2}, Lcom/estrongs/android/view/FileGridViewWrapper$u$b;-><init>(Lcom/estrongs/android/view/FileGridViewWrapper$u;Les/f70;ILjava/lang/String;)V

    iput-object v1, v0, Lcom/estrongs/android/view/FileGridViewWrapper$v;->d:Ljava/lang/Runnable;

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper;->Z:Landroid/os/Handler;

    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    iget-object p2, p2, Lcom/estrongs/android/view/FileGridViewWrapper$v;->d:Ljava/lang/Runnable;

    invoke-virtual {p1, p2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 14
    :goto_1
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    iget-object p1, p1, Lcom/estrongs/android/view/FileGridViewWrapper$v;->b:Landroid/os/ConditionVariable;

    invoke-virtual {p1}, Landroid/os/ConditionVariable;->open()V

    :cond_6
    :goto_2
    return-void

    :catchall_0
    move-exception p1

    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$u;->a:Lcom/estrongs/android/view/FileGridViewWrapper$v;

    iget-object p2, p2, Lcom/estrongs/android/view/FileGridViewWrapper$v;->b:Landroid/os/ConditionVariable;

    invoke-virtual {p2}, Landroid/os/ConditionVariable;->open()V

    .line 15
    throw p1
.end method
